#include"dlist.h"
void test()
{
	dlnode* plist = DLInit();
	dlistpushback(plist, 1);
	dlistpushback(plist, 2);
	dlistpushback(plist, 3);
	dlistpushback(plist, 4);
	dlistpushback(plist, 5);
	dlistpopback(plist);
	DLprint(plist);
}
void test1()
{
	dlnode* plist = DLInit();
	dlistpushfront(plist, 1);
	dlistpushfront(plist, 2);
	dlistpushfront(plist, 3);
	dlistpushfront(plist, 4);
	dlistpushback(plist, 5);
	dlistpopfront(plist);
	DLprint(plist);
}
int main()
{
	//test();

	test1();

	return 0;
}